package com.zyh.service;

import com.zyh.entity.Type;

import java.util.List;

public interface TypeService {
    void insert(Type type);
    void deleteByTypeId(Integer typeId);
    void deletesByTypeId(int[] ids);
    void updateByTypeId(Integer typeId);
    Type selectByTypeId(Integer typeId);
    Type selectByTypeName(String typeName);
    List<Type> selectTypes();
}
